package com.wicket.okrdataassets.dal.po.mbg;

import com.baomidou.mybatisplus.annotation.*;
import com.wicket.okrdataassets.common.annotations.LikeFlag;
import com.wicket.okrdataassets.common.annotations.OrderFlag;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.beans.BeanUtils;

/**
 *
 *
 * @author xxx
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("oms_account_capital_source")
public class OmsAccountCapitalSource extends BaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 资金来源ID
   */
  @TableId(value = "capital_source_id", type = IdType.UUID)
  @NotNull(message = "capitalSourceId不能为空")
  private String capitalSourceId;

  /**
   * 资金来源标识
   */
  @TableField(value = "capital_source_code")
  @ApiModelProperty("资金来源标识")
  private String capitalSourceCode;

  /**
   * 资金来源名称
   */
  @TableField(value = "capital_source_name")
  @ApiModelProperty("资金来源名称")
  private String capitalSourceName;

  /**
   * 资金来源logo
   */
  @TableField(value = "capital_source_logo")
  @ApiModelProperty("资金来源logo")
  private String capitalSourceLogo;

  /**
   * 使用场景类型编码 PMO:项目管理 DOUBLE_HIGH_PLAN:双高规划 GENERAL_PLAN:常规规划
   */
  @TableField(value = "use_scene_type_code")
  @ApiModelProperty("使用场景类型编码")
  private String useSceneTypeCode;

  /**
   * 是否组织正式财务标准 TRUE:是 FALSE:否
   */
  @TableField(value = "is_org_official_account_nom")
  @ApiModelProperty("是否组织正式财务标准")
  private String isOrgOfficialAccountNom;

  /**
   * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
   */
  @TableField(value = "subject_life_cycle")
  @ApiModelProperty("主体生命周期")
  private String subjectLifeCycle;

  /**
   * 是否存档 TRUE:是 FALSE:否
   */
  @TableField(value = "is_archive")
  @ApiModelProperty("是否存档")
  private String isArchive;

  /**
   * 操作人就职记录ID
   */
  @TableField(value = "operation_induction_id")
  @ApiModelProperty("操作人就职记录ID")
  private String operationInductionId;

  /**
   * 创建人就职记录ID
   */
  @TableField(value = "create_induction_id")
  @ApiModelProperty("创建人就职记录ID")
  private String createInductionId;

  /**
   * 发布人就职记录ID
   */
  @TableField(value = "release_induction_id")
  @ApiModelProperty("发布人就职记录ID")
  private String releaseInductionId;

  /**
   * 存档人就职记录ID
   */
  @TableField(value = "archive_induction_id")
  @ApiModelProperty("存档人就职记录ID")
  private String archiveInductionId;

  /**
   * 操作时间
   */
  @TableField(value = "operate_time")
  @ApiModelProperty("操作时间")
  private Date operateTime;

  /**
   * 创建时间
   */
  @TableField(value = "create_time")
  @ApiModelProperty("创建时间")
  private Date createTime;

  /**
   * 发布时间
   */
  @TableField(value = "release_time")
  @ApiModelProperty("发布时间")
  private Date releaseTime;

  /**
   * 存档时间
   */
  @TableField(value = "archive_time")
  @ApiModelProperty("存档时间")
  private Date archiveTime;

  /**
   * 是否作废 TRUE:是 FALSE:否
   */
  @TableField(value = "is_valid")
  @NotNull(message = "是否作废不能为空")
  @ApiModelProperty("是否作废")
  private String isValid;

  /**
   * 创建于空间ID
   */
  @TableField(value = "space_id")
  @ApiModelProperty("创建于空间ID")
  private String spaceId;

  /**
   * 创建于联盟应用ID
   */
  @TableField(value = "app_id")
  @ApiModelProperty("创建于联盟应用ID")
  private String appId;
}
